﻿import QtQuick 2.15
import QtQuick.Window 2.15

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    Text {
        id: name
        text: qsTr("text")
        x: 40
        y: 50
    }

    Rectangle {
        x: 100
        y: 100
        width: 100
        height: 100
        color: "black"
        focus: true

        MouseArea {
            anchors.fill: parent
            onClicked: {
                console.log("onClicked!")
            }

        }
    }
}
